list = ['python', 'java', 'python', 'php']
# 统计python出现的次数
num = list.count("python")
print(num)
# 统计java出现次数
print(list.count("java"))
print(list.count("C++"))